package com.sunyzc.ebaotech.simulator.soap.wangxiao;

import com.sunyzc.ebaotech.simulator.soap.AbstractSOAPProcessor;

/**
 * New Underwriting - 新单承保(102) <br>
 * Policy Value Inquiry - 保单价值查询(107) <br>
 * ILPTOPUP - 追加投资交易(108) <br>
 * Surrender Inquiry - 保单退保查询交易(805) <br>
 * Surrender - 退保交易(207) <br>
 * Payment - 网销实付费用确认(806) <br>
 * Policy Claim Inquiry - 网销理赔查询(901) <br>
 * Policy Claim AdjustMent - 网销理赔理算(902) <br>
 * Policy Claim Reject - 理赔退货(903) <br>
 */
public class WANGXIAOProcessor extends AbstractSOAPProcessor {
	private final static String SERVICE_NAME = "NetSalesExchange";
	private final static String METHOD_NAME = "netExchange";
	private final static String CLIENT_CODE = "WANGXIAO";
	private final static String APPLY_CODE_TYPE = "070";
	private final static String POLICY_CODE_TYPE = "092";

	@Override
	public Object[] getRequestParams(String requestTransType, String requestBodyContentStr) {
		return new Object[] { getClientCode(), requestTransType, requestBodyContentStr };
	}

	@Override
	protected String getServiceName() {
		return SERVICE_NAME;
	}

	@Override
	protected String getMethodName() {
		return METHOD_NAME;
	}

	@Override
	protected String getClientCode() {
		return CLIENT_CODE;
	}

	@Override
	protected String getApplyCardCode() {
		return APPLY_CODE_TYPE;
	}

	@Override
	protected String getPolicyCardCode() {
		return POLICY_CODE_TYPE;
	}
}
